package com.example.model;


import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 阿宾
 * Date: 2025-04-16
 * Time: 13:38
 */
@Component
@Data
public class UserInfo {
    private Integer id;
    private String username;
    private String password;
    private Integer age;
    private Integer gender; //1表示男，2表示女，0默认
    private String phone;
    private Integer deleteflag; //0正常 1删除
    private Date createtime;
    private Date updatetime;

    @Override
    public String toString() {
        return "UserInfo{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", age=" + age +
                ", gender=" + gender +
                ", phone='" + phone + '\'' +
                ", deleteflag=" + deleteflag +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                '}';
    }
}
